package com.onstar.cn.smart;

/**
 * Created with IntelliJ IDEA.
 * User: Kelvin.Tian
 * Date: 2017-02-28
 * Time: 14:58
 * To change this template use File | Settings | File Templates.
 */
public class QRCodeResponse {
    private String accessToken; //手机端的accessToken
    private String idToken;  //手机端的idToken
    private String deviceID;//手机的deviceID
    private String qrCode;
    private long   idTokenValidity= 86400;//idtoken有限期，默认一天

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getIdToken() {
        return idToken;
    }

    public void setIdToken(String idToken) {
        this.idToken = idToken;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public long getIdTokenValidity() {
        return idTokenValidity;
    }

    public void setIdTokenValidity(long idTokenValidity) {
        this.idTokenValidity = idTokenValidity;
    }
}
